// 使用箭头函数
var obj = { 
    count: 0, 
    cool: function coolFn() { 
    
    if (this.count < 1) { 
        setTimeout( () => { 
            this.count++; 
            console.log( "awesome?",this.count ); 
        }, 100 ); 
    } 
} 
}; 
    
   obj.cool(); 